package com.koudai.finance.service;

import com.koudai.finance.entity.SysConfig;
import com.koudai.finance.entity.User;

import java.util.List;
import java.util.Map;

/**
 * @Description: 商机信息Service
 * @author: ls
 * @Date: 2020-07-14 15:55:36
 */
public interface CommonService {

    <T> Map<String, Object> buildQryResultMap(List<T> beanList);

    <T> List<T> getPageList(List<T> voList, Integer pageNum, Integer pageSize);

    List<SysConfig> getSysConfigList(String key);

    void delUserCache(Integer userId);

    void checkSmsCode(String phone, String smsCode);

    User getUserInfo(Integer id);
}
